﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebInvoicingsys.system.purchase
{
    public partial class purchaseplan : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                ;
            }
        }

        //查询
        protected void btnSearch_Click(object sender, EventArgs e)
        {
            string years = uc_search_years.getValue();
            string months = uc_search_months.getValue();

            string url = "/system/purchase/purchaseplan_list.aspx?years={0}&months={1}";

            url = String.Format(url, years, months);

            Response.Redirect(url);
        }

        //添加
        protected void btnAdd_Click(object sender, EventArgs e)
        {
            string url = "/system/purchase/purchaseplan_Add.aspx";

            Response.Redirect(url);
        }
    }
}